// import axios from 'axios'
import instance from '../utils/request';
import type { GoodsList } from './types';
export let goods=async ()=>{
  let result=await instance.get<any,GoodsList>('/goods')
  // console.log(result.data[0].id); 
  return result
}